from setuptools import setup, find_packages

setup(
    name="uosvul",  # 项目名称（按需修改）
    version="0.1",     # 版本号
    packages=find_packages(),  # 自动发现所有包（包括 client/controller/middle）
    entry_points={
        "console_scripts": [
            "uosvulupdate = controller.command:main",  # 命令行命令 -> 调用 controller.command.main()
            "uosvulget = controller.command:vul_get_info",
            "uosampatch = controller.command:xlsx_am_patches",
            "uosgetexploits = controller.command:xlsx_get_exploits"
        ],
    },
    install_requires=[  # 依赖项（可选）
        "requests>=2.25.1",
        "GitPython",
        "openpyxl",
        "python-dotenv",
        "setuptools",
        "openai"
    ],
    python_requires=">=3.10",  # Python 版本要求
)
